Hack that works around firefox plugin crash
authorAlexander Larsson <alexl@redhat.com>
Sat, 4 Jul 2009 18:13:43 +0000 (20:13 +0200)
committerAlexander Larsson <alexl@redhat.com>
Sat, 4 Jul 2009 18:21:26 +0000 (20:21 +0200)
commit0e07d8b189e731b9d1c9e3b3eb7781b04a00a0f9
tree5189e1f5e036c8cde081347f9a53e502c788c9a5
parent84c51a60895aae9761fb925af714d97e6b709246
Hack that works around firefox plugin crash

It turns out that mozilla, as per the gtk2xt code selects for input on
the socket with a mask of 0x0fffff (for god knows why) which includes
ButtonPressMask, causing a BadAccess if someone else also selects for
this. As per the client-side windows merge we always normally selects
for button press so we can emulate it on client side children that
selects for button press. However, we don't need this for GtkSocket,
so we unselect it here, fixing the crashes in firefox.
gtk/gtksocket-x11.c